#
# Be sure to run `pod lib lint YPush.podspec' to ensure this is a
# valid spec before submitting.
#
#
# Be sure to run `pod lib lint YIM.podspec --allow-warnings' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

# pod lib lint YPush.podspec --allow-warnings --verbose --use-libraries --use-modular-headers
# pod spec lint --allow-warnings --verbose --use-libraries --use-modular-headers

# /bin/bash ./confuse.sh -c
# git commit
# git push
# git tag '*.*.*'
# git push --tag
# pod trunk push YPush.podspec --allow-warnings --verbose --use-libraries --use-modular-headers

Pod::Spec.new do |s|
  s.name             = 'YPush'
  s.version          = '3.0.7'
  s.summary          = 'YPush for ios'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
                        YPush for ios
                       DESC

 # s.resource_bundles = {
 #   'YPush' => ['YPush/Assets/*.png']
 # }
 # s.public_header_files = 'Pod/Classes/**/*.h'
 # s.frameworks = 'libz', 'libc++'
 # s.resources = [
 #   'Assets/**/*',
 #   'Views/**/*.{storyboard,xib}'
 # ]
 # s.static_framework = true
 # s.vendored_frameworks = ['Classes/YFree.framework']
 # s.platform = :ios, '9.0'

  s.homepage         = 'https://gitee.com/lingyang-network-tech/YPush'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { '领杨网络科技' => 'lingyangnettech@163.com' }
  s.source           = { :git => 'https://gitee.com/lingyang-network-tech/YPush.git', :tag => s.version.to_s }
  s.ios.deployment_target = '12.0'
  s.swift_version = '5.0'
  s.source_files = 'YPush/Classes/**/*.{h,m,swift}'
  s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' }
end
